body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f8f9fa;
  padding-top: 20px;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.container {
  max-width: 850px;
  margin: 0 auto;
}

.header {
  text-align: center;
  margin-bottom: 30px;
}

.completed {
  text-decoration: line-through;
  color: #6c757d;
}

.task-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 20px;
  margin-bottom: 20px;
}

/* 美化任务列表 */
.todo-list-container {
  padding: 20px;
  background-color: #e6f7e6; /* 浅绿背景 */
  border-radius: 8px;
}

.todo-list-container .table th {
  border-top: none;
  font-weight: 600;
  color: #6c757d;
}

.todo-list-container .table td {
  vertical-align: middle;
  padding: 12px 15px;
}

/* 添加任务表单样式 */
.form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 按钮悬停效果 */
.btn-outline-primary:hover, .btn-outline-danger:hover {
  transform: translateY(-1px);
  transition: transform 0.2s;
}

/* 列表项悬停效果 */
.table tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.05);
}

/* 美化Badge标签 */
.badge {
  font-weight: 500;
  padding: 0.4rem 0.6rem;
}

/* 美化 TodoList 组件，整体色系为绿色，优化布局结构，使界面清新简洁 */

.todo-list-wrapper {
  padding: 20px;
  background-color: #e6f7e6; /* 浅绿背景 */
  border-radius: 8px;
}

.todo-list-title {
  font-size: 1.5rem;
  color: #2e7d32; /* 深绿 */
  font-weight: 600;
}

.todo-list-card {
  border: 1px solid #2e7d32; /* 绿色边框 */
  border-radius: 8px;
  padding: 10px;
  background-color: white;
}

.todo-list-table {
  border-collapse: collapse;
  border: 1px solid #2e7d32; /* 绿色边框 */
  border-radius: 8px;
}

.todo-list-table thead tr th {
  background-color: #e6f7e6; /* 浅绿 */
  color: #2e7d32; /* 深绿 */
  font-weight: 600;
}

.todo-list-row {
  border-bottom: 1px solid #e6f7e6; /* 浅绿边框 */
}

.todo-list-row:hover {
  background-color: #e6f7e6; /* 浅绿悬停 */
}

.todo-list-name {
  color: #2e7d32; /* 深绿 */
}

.todo-list-category {
  color: #2e7d32; /* 深绿 */
  background-color: #e6f7e6; /* 浅绿 */
}

.todo-list-status {
  color: #2e7d32; /* 深绿 */
}

.todo-list-actions {
  gap: 8px; /* 增加间距 */
}

.todo-list-edit-btn, .todo-list-delete-btn {
  border: 1px solid #2e7d32; /* 绿色边框 */
  background-color: #e6f7e6; /* 浅绿 */
  color: #2e7d32; /* 深绿 */
}

.todo-list-edit-btn:hover, .todo-list-delete-btn:hover {
  background-color: #2e7d32; /* 深绿 */
  color: white;
}

/* 美化前端页面布局，使整体风格更加可爱清新 */

body {
  background-color: #e6f7e6; /* 浅绿背景 */
  font-family: sans-serif;
}

.container {
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1, h2, h3, h4 {
  color: #2e7d32; /* 深绿 */
  font-weight: 600;
}

Card {
  border: 1px solid #e6f7e6; /* 浅绿边框 */
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

Button {
  border-radius: 4px;
  transition: all 0.3s ease;
}

.todo-list-wrapper {
  padding: 20px;
  background-color: #e6f7e6; /* 浅绿背景 */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.todo-list-title {
  font-size: 1.5rem;
  color: #2e7d32; /* 深绿 */
  font-weight: 600;
}

.todo-list-card {
  border: 1px solid #e6f7e6; /* 浅绿边框 */
  border-radius: 8px;
  padding: 10px;
  background-color: white;
}

.todo-list-table {
  border-collapse: collapse;
  border: 1px solid #e6f7e6; /* 浅绿边框 */
  border-radius: 8px;
}

.todo-list-table thead tr th {
  background-color: #e6f7e6; /* 浅绿 */
  color: #2e7d32; /* 深绿 */
  font-weight: 600;
}

.todo-list-row {
  border-bottom: 1px solid #e6f7e6; /* 浅绿边框 */
}

.todo-list-row:hover {
  background-color: #e6f7e6; /* 浅绿悬停 */
}

.todo-list-name {
  color: #2e7d32; /* 深绿 */
}

.todo-list-category {
  color: #2e7d32; /* 深绿 */
  background-color: #e6f7e6; /* 浅绿 */
}

.todo-list-status {
  color: #2e7d32; /* 深绿 */
}

.todo-list-actions {
  gap: 8px; /* 增加间距 */
}

.todo-list-edit-btn, .todo-list-delete-btn {
  border: 1px solid #2e7d32; /* 绿色边框 */
  background-color: #e6f7e6; /* 浅绿 */
  color: #2e7d32; /* 深绿 */
}

.todo-list-edit-btn:hover, .todo-list-delete-btn:hover {
  background-color: #2e7d32; /* 深绿 */
  color: white;
} 